package com.sgx.learning.luban.homework.constantpool;

import com.sgx.learning.luban.homework.basictype.U4;
import lombok.Data;

import java.io.IOException;
import java.io.InputStream;


@Data
public class ConstantIntegerInfo extends ConstantPoolInfo {

    private int bytes;

    @Override
    public void read(InputStream is) throws IOException {
        this.bytes = U4.read(is).getValue();
    }
}
